package com.yjx.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data//自动生成get，set方法
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("yjx_user")
public class User implements Serializable {
    private Integer userId;
    private String userName;
    private String userEmail;
    private String userPasswordHash;
    private Integer roleId;
    private String userBio;
    private String userPhone;
    private String userGender;
    private LocalDateTime userLastActive;
    private LocalDateTime userCreatedAt;
    private String userStatus;
}